package net.uhuijia.user.useraddress.persistence.dao;

import org.apache.ibatis.annotations.Mapper;
import net.uhuijia.appbase.dao.CrudDao;
import net.uhuijia.user.useraddress.persistence.basedao.UserAddressMapper;
import net.uhuijia.user.useraddress.persistence.model.UserAddress;
import net.uhuijia.user.useraddress.persistence.model.UserAddressExample;


@Mapper
public interface UserAddressDao
     extends UserAddressMapper,CrudDao<UserAddress,UserAddressExample> {
    /**
     * @Author xzj
     * @Description //查询用户默认收获地址
     * @Date  2018/10/9
     * @Param [userId] 用户id
     * @return net.uhuijia.user.useraddress.persistence.model.UserAddress
     **/
    UserAddress getUserDefaultAddress(String userId);
}